import React, { useEffect, useRef } from 'react';
import { Typography, Result, Button, Steps } from '@arco-design/web-react';
import styles from './style/index.module.less';
import { ThreeModal } from './three-model2';
function Page() {
  const domRef = useRef<HTMLDivElement>();
  useEffect(() => {
    const threeModelRef = new ThreeModal(domRef.current, {});
    return () => {
      threeModelRef.dispose();
    };
  }, []);
  return (
    <div
      style={{
        height: window.innerHeight - 180,
      }}
      ref={domRef}
    ></div>
  );
}

export default Page;
